package com.home.fitzx.service;

import com.dexcoder.commons.pager.Pager;
import com.home.fitzx.dto.QueryCompanyParams;
import com.home.fitzx.entity.Company;

public interface CompanyService {

    
    public Pager findAll(int currentPage, int itemsPerPage);
    
    public Pager findCompanys(QueryCompanyParams params);
    
    public void save(Company company);
    
    public void delete(long id);
    
    public void update(Company company);
    
    public Company getById(long id);
}
